package registnet.base.source;

import registnet.base.courseoffering.CourseOffering;

/**
 * Defines an interface for object for creating a <code>CourseOffering</code> from the data from a specific source.
 */
public interface ICourseOfferingSource {

	/**
	 * Loads the data from a database and use it to create a <code>CourseOffering</code>.
	 * @return the course offering.
	 */
	public CourseOffering load();
	
	/**
	 * Returns the course offering.
	 * @return the course offering
	 */
	public CourseOffering getCourseOffering();
	
}
